package com.sangmo.fts.teacher.interfaces;

import com.sangmo.boot.framework.plugin.dataview.def.meta.DataField;
import com.sangmo.boot.framework.plugin.dataview.def.meta.DataView;
import com.sangmo.fts.common.IConstants;
import com.sangmo.fts.teacher.model.ScoreSetting;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@DataView(ScoreSetting.class)
public class ScoreSettingUpdate implements Serializable {

    private int processRatio;

    private int reportRatio;

    private int growthRatio;

    private int durationRatio;

    @DataField(value = IConstants.DATA_TYPE.COLLECTION_4,required = true)
    private List<GrowthRatioSettingCreation> growthRatioSettings;

    @DataField(value = IConstants.DATA_TYPE.COLLECTION_4, required = true)
    private List<DurationRatioSettingCreation> durationRatioSettings;

    public int getProcessRatio() {
        return processRatio;
    }

    public void setProcessRatio(int processRatio) {
        this.processRatio = processRatio;
    }

    public int getReportRatio() {
        return reportRatio;
    }

    public void setReportRatio(int reportRatio) {
        this.reportRatio = reportRatio;
    }

    public int getGrowthRatio() {
        return growthRatio;
    }

    public void setGrowthRatio(int growthRatio) {
        this.growthRatio = growthRatio;
    }

    public int getDurationRatio() {
        return durationRatio;
    }

    public void setDurationRatio(int durationRatio) {
        this.durationRatio = durationRatio;
    }

    public List<GrowthRatioSettingCreation> getGrowthRatioSettings() {
        return growthRatioSettings;
    }

    public void setGrowthRatioSettings(List<GrowthRatioSettingCreation> growthRatioSettings) {
        this.growthRatioSettings = growthRatioSettings;
    }

    public List<DurationRatioSettingCreation> getDurationRatioSettings() {
        return durationRatioSettings;
    }

    public void setDurationRatioSettings(List<DurationRatioSettingCreation> durationRatioSettings) {
        this.durationRatioSettings = durationRatioSettings;
    }
}
